# 3. 注册页面的alter练习
import os
import time
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.select import Select
driver = webdriver.Chrome()
fileA = "file:///"+os.path.abspath("html")+"/注册A.html"
driver.get(fileA)
driver.find_element(By.ID, "alerta").click()
time.sleep(5)
driver.quit()